package com.spring.Service.Interface;

import com.spring.Entity.PaylogEntity;
import jxl.read.biff.BiffException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.sql.Date;
import java.text.ParseException;
import java.util.Map;

/**
 * Created by Arabira on 2016/8/4.
 */
public interface PayLogService {
    Map<String, Object> findByContractId(String contractId);

    Map<String, Object> onOrOff(Integer paylogId);

    int update(Integer paylogId, Date paidTime, Date remindTime, String money);

    PaylogEntity[] findPaylogByRemindDate();

    int addPaylog(PaylogEntity paylogEntity);

    String addByExcel(MultipartFile file) throws IOException, BiffException, ParseException;
}
